package org.xiaocq.messexamples;

import org.xiaocq.messexamples.components.ActionList;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Main extends Activity {
	private Button Exp_1;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        
        Exp_1 = (Button) findViewById(R.id.to_example_1);
        Exp_1.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				startActivity(new Intent(ActionList.ACTION_EXAMPLE_1));
			}
		});
    }
}